﻿@page "/locationSetting"
@namespace SwashbucklerDiary.Pages
@inherits PageComponentBase

<MyAppBar Title="@(I18n.T("Setting.Display.Diary.Location.Name"))"
          OnClick="NavigateToBack">
</MyAppBar>

<ScrollContainer>
    <LocationCardList Value="Locations"></LocationCardList>
</ScrollContainer>

<MyFloatButton Icon="mdi-plus" OnClick="()=>ShowAdd=true">
</MyFloatButton>

<InputDialog @bind-Value="ShowAdd"
             Title="@(I18n.T("Location.Add"))"
             Placeholder="@(I18n.T("Location.Placeholder"))"
             OnOK="SaveAdd">
</InputDialog>

